import { SkillData } from "../../../new/skill/const/SkillData";
import { BattleRoleUI } from "../../roleUI/BattleRoleUI";
import { UITriggerType } from "../UITriggerType";
import { ActionBase } from "./ActionBase";

/**
 * 动作-使用技能
 */
export class UseSkill extends ActionBase {

    constructor(casterUI: BattleRoleUI) {
        super()
        this.casterUI = casterUI
    }

    excute(): void {
        //回调触发攻击事件
        this.casterUI.UITriggerMgr.trigger(UITriggerType.attack_ui)
    }
}